package com.ticket.sass.admin.dto.output.order;

import com.ticket.sass.admin.model.PageModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author ywb
 * @date 2024-03-05 14:41
 */
@Data
@ApiModel
public class OrderDataModel<T> extends PageModel<T>{
    private BigDecimal sumPayPrice;
    
    private BigDecimal wxSumPayPrice;
    
    private BigDecimal memberSumPayPrice;
    
    private Integer count;
    
    @ApiModelProperty(value = "票数")
    private Integer ticketCount;
    
    @ApiModelProperty(value = "票数")
    private BigDecimal ticketAmount;
    
    @ApiModelProperty(value = "退单数")
    private Integer refundCount;
    
    @ApiModelProperty(value = "退票数")
    private Integer refundTicketCount;
    
    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;
    
    private BigDecimal refundWxAmount;
    
    private BigDecimal refundMemberAmount;
    
    public OrderDataModel() {
        super();
        this.sumPayPrice = new BigDecimal("0.0");
        this.wxSumPayPrice = new BigDecimal("0.0");
        this.memberSumPayPrice = new BigDecimal("0.0");
        this.refundCount = 0;
        this.refundTicketCount = 0;
        this.refundAmount = new BigDecimal("0.0");
        this.count = 0;
        this.ticketAmount = new BigDecimal("0.0");
        this.ticketCount = 0;
        this.refundWxAmount = new BigDecimal("0.0");
        this.refundMemberAmount = new BigDecimal("0.0");
    }
}
